cod_set_user_gravity

Syntax

native cod_set_user_gravity(id, Float:value, type = ROUND);

Usage

id
Player index
value
Bonus value, from -1.0 to 1.0
type
Bonus type, valid types are:
CLASS - for class
ITEM - for item
ADDITIONAL - static bonus
ROUND - until round end
DEATH - until death
DAMAGE_GIVEN - until player damage enemy
DAMAGE_TAKEN - until player is hurt

Description

Sets player gravity bonus.

Note

Lower gravity has priority, but still will be reduced by bonuses with value lower than 0.

Return

This function has no return value.